import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

// 间隔
class Gaps {
  static SizedBox getHGap(double px) {
    return SizedBox(width: px);
  }

  static SizedBox getVGap(double px) {
    return SizedBox(height: px);
  }

  /// 水平间隔
  static Widget hGap2 = const SizedBox(width: 2);
  static Widget hGap4 = const SizedBox(width: 4);
  static Widget hGap5 = const SizedBox(width: 5);
  static Widget hGap6 = const SizedBox(width: 6);
  static Widget hGap8 = const SizedBox(width: 8);
  static Widget hGap10 = const SizedBox(width: 10);
  static Widget hGap12 = const SizedBox(width: 12);
  static Widget hGap15 = const SizedBox(width: 15);
  static Widget hGap16 = const SizedBox(width: 16);
  static Widget hWGap16 = SizedBox(width: 16.w);
  static Widget hGap20 = const SizedBox(width: 20);
  static Widget hGap25 = const SizedBox(width: 25);
  static Widget hGap26 = const SizedBox(width: 26);
  static Widget hGap30 = const SizedBox(width: 30);
  static Widget hGap35 = const SizedBox(width: 35);
  static Widget hGap40 = const SizedBox(width: 40);
  static Widget hGap45 = const SizedBox(width: 45);
  static Widget hGap50 = const SizedBox(width: 50);

  /// 垂直间隔
  static Widget vGap2 = const SizedBox(height: 2);
  static Widget vGap4 = const SizedBox(height: 4);
  static Widget vGap6 = const SizedBox(height: 6);
  static Widget vGap5 = const SizedBox(height: 5);
  static Widget vGap8 = const SizedBox(height: 8);
  static Widget vGap10 = const SizedBox(height: 10);
  static Widget vGap12 = const SizedBox(height: 12);
  static Widget vGap14 = const SizedBox(height: 14);
  static Widget vGap15 = const SizedBox(height: 15);
  static Widget vGap16 = const SizedBox(height: 16);
  static Widget vGap20 = const SizedBox(height: 20);
  static Widget vGap24 = const SizedBox(height: 24);
  static Widget vGap25 = const SizedBox(height: 25);
  static Widget vGap26 = const SizedBox(height: 26);
  static Widget vGap30 = const SizedBox(height: 30);
  static Widget vGap32 = const SizedBox(height: 32);
  static Widget vGap35 = const SizedBox(height: 35);
  static Widget vGap36 = const SizedBox(height: 36);
  static Widget vGap40 = const SizedBox(height: 40);
  static Widget vGap45 = const SizedBox(height: 45);
  static Widget vGap48 = const SizedBox(height: 48);
  static Widget vGap50 = const SizedBox(height: 50);
  static Widget vGap55 = const SizedBox(height: 55);
  static Widget vGap60 = const SizedBox(height: 60);
  static Widget vGap65 = const SizedBox(height: 65);
  static Widget vGap70 = const SizedBox(height: 70);
  static Widget vGap75 = const SizedBox(height: 75);
  static Widget vGap80 = const SizedBox(height: 80);
  static Widget vGap85 = const SizedBox(height: 85);
  static Widget vGap90 = const SizedBox(height: 90);
  static Widget vGap95 = const SizedBox(height: 95);
  static Widget vGap100 = const SizedBox(height: 100);
  static Widget vGap120 = const SizedBox(height: 120);
  static Widget vGap130 = const SizedBox(height: 130);
  static Widget vGap140 = const SizedBox(height: 140);
  static Widget vGap145 = const SizedBox(height: 145);
  static Widget vGap160 = const SizedBox(height: 160);
  static Widget vGap170 = const SizedBox(height: 170);
  static Widget vGap180 = const SizedBox(height: 180);
  static Widget vGap200 = const SizedBox(height: 200);
  static Widget vGap210 = const SizedBox(height: 210);
}
